<?php
namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { public function handle($sp13451b, Closure $spce9b56, $sp258e5d = null) { if (Auth::guard($sp258e5d)->check()) { return redirect('/home'); } return $spce9b56($sp13451b); } }